package org.example.design.责任;

/**
 * @Auther:Liu
 * @Testname:Monitor
 * @Date:2025/8/15 12:32
 */
public class Monitor extends Handler{
    @Override
    public void handle(int day) {
        System.out.println("班长能处理");
        if (day<2){
            getNext().handle(day);
        }
    }
}
